package com.red.star.wechat.data.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

@Data
@Table(name = "t_msg_template")
public class MsgTemplate extends BaseEntity {
	private String content;

	private String activityDescription;

	private Date activityTime;

	private String postId;

	private String mallCode;

	private String type;

	private String omsCode;

	private String activity;

	@JSONField(format = "yyyy-MM-dd HH:mm")
	private Date lastSendTime;

	@Transient
	private String mallName;

	/**
	 * 接收数
	 * */
	@Transient
	private String receiveCount;

	/**
	 * 发送数
	 * */
	@Transient
	private String sendCount;
}
